package com.jf3q.sup.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jf3q.sup.domain.PurchaseDetails;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author : 八九宸烨
 * @date :
 * 正在播放《Твои глаза》
 * ●━━━━━━─────── 1:27
 * ⇆ ◁ ❚❚ ▷ ↻
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PurchasesAddDto {
    private Integer purId;

    /**
     * 供应商ID,外键参考供应商表
     */
    private Integer supplierId;


    /**
     * 采购总金额
     */
    private BigDecimal totalAmount;

    /**
     * 采购日期
     */
    private Date purchaseDate;



    private List<PurchaseDetailsDto> detailsDtoList;


}
